<template>
	<view class="good-list">
		
	</view>
</template>

<script>
	let that
	import {
		mapGetters,
		mapMutations
	} from 'vuex'
	export default {
		computed: {
			...mapGetters(['userInfo', 'api']),
		},
		props: {
			list: {
				type: [Array, Object],
				default () {
					return {}
				}
			},
			type: {
				type: Number,
				default () {
					return 1
				}
			}
		},
		watch: {},
		data() {
			return {
				dataList: []
			}
		},
		mounted() {
			that = this
		},
		methods: {
			navigatorTo(item) {
				this.$emit("clickRow", item)
			},
			//收藏
			startFn() {

			}
		}

	}
</script>

<style lang="scss">
	.good-list {
		padding: 0 10px;
		font-size: 14px;

		.g-top {
			display: flex;
			justify-content: space-around;
			padding: 10px;
		}
		.yuezhou{
			display: flex;padding: 10px;justify-content: space-between;
			.yuezhouleft{
				flex: 1;text-align: center;
			}
			.yuezhouright{
				display: flex;justify-content: space-between;width: 340rpx;
			}
		}
		.yuezhouText{
			width: 200rpx;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;
		}
		.yuezhou-right{
			display: flex;
		}

		.li {
			display: flex;margin-bottom: 10px;
			align-items: center;
			padding: 10px;
			justify-content: space-between;
			background-color: #242448;
			border-radius: 4px;

			.left {
				display: flex;
				align-items: center;

				.image {
					width: 40px;
					height: 40px;
					border-radius: 50%;
					margin: 0 10px;
				}

				.textwarp {
					width: 400rpx;line-height: 22px;

					.text2 {
						color: red;
					}
				}
			}

			.right {
				font-size: 12px;

				.r-btn {
					background-color: #FF6B00;
					border-radius: 5px;
					text-align: center;
					width: 50px;
					height: 24px;
					line-height: 24px;
					margin-bottom: 2px;
				}
			}


		}
	}
</style>